{"version":3,"file":"encoder.min.js","sources":["encoder.js"],"names":["mp3Encoder","mp3Buffer","onmessage","e","data","action","init","start","record","stop","channels","sampleRate","bitRate","type","importScripts","lamejs","Mp3Encoder","buffer","floatTo16BitPCM","input","chunk","encodeBuffer","push","flush","resultBlob","Blob","postMessage","result","length","Int16Array","value","i"],"mappings":"AAAA,GAAIA,WACJ,IAAIC,aAEJC,WAAY,SAASC,GAEpB,OAAQA,EAAEC,KAAKC,QAEd,IAAK,OACJC,KAAKH,EAAEC,KACP,MACD,KAAK,QACJG,OACA,MACD,KAAK,SACJC,OAAOL,EAAEC,KACT,MACD,KAAK,OACJK,MACA,QAIH,SAASH,MAAKF,GAEb,GAAIM,GAAWN,EAAKM,UAAY,CAChC,IAAIC,GAAaP,EAAKO,YAAc,KACpC,IAAIC,GAAUR,EAAKQ,SAAW,GAC9B,IAAGR,EAAKS,OAAS,YACjB,CACCC,cAAc,uCACdd,YAAa,GAAIe,QAAOC,WAAWN,EAAUC,EAAYC,IAI3D,QAASL,SAERN,aAGD,QAASO,QAAOJ,GAEf,GAAIa,GAASC,gBAAgBd,EAAKe,MAClC,IAAIC,GAAQpB,WAAWqB,aAAaJ,EACpChB,WAAUqB,KAAKF,GAGhB,QAASX,QAERR,UAAUqB,KAAKtB,WAAWuB,MAC1B,IAAIC,GAAa,GAAIC,MAAKxB,WAAYY,KAAM,cAC5Ca,cAAarB,OAAQ,SAAUsB,OAAQH,GACvCvB,cAID,QAASiB,iBAAgBC,GAExB,GAAIS,GAAST,EAAMS,MACnB,IAAID,GAAS,GAAIE,YAAWD,EAC5B,IAAIE,EACJ,KAAI,GAAIC,GAAI,EAAGA,EAAIH,EAAQG,IAC3B,CACC,GAAGZ,EAAMY,GAAK,EACbD,EAAQ,MACJ,IAAGX,EAAMY,IAAM,EACnBD,GAAS,MAETA,GAAQX,EAAMY,EAEfJ,GAAOI,GAAMD,EAAQ,EAAIA,EAAQ,MAAQA,EAAQ,MAElD,MAAOH"}